package com.ftar.urgent.camera;

import android.view.TextureView;

import com.ftar.camera.Camera2Helper;
import com.ftar.camera.listener.Camera2Listener;
import com.ftar.camera.listener.CameraListener;

/**
 * @author: wei.jin
 * @date: 2023/7/3
 * @email: wei.jin@fanttec.com
 * @description：
 */
public abstract class BaseCameraManager {


    public void openCamera(TextureView cameraView) {

    }

    public void setOnCameraPreViewListener(CameraListener cameraListener) {

    }

    public void setOnCameraPreViewListener(Camera2Listener cameraListener) {

    }

    public abstract Camera2Helper getCameraObject();

    public void setDistance(float distance) {

    }

    public void zoomIn(float level) {
    }

    public void zoomOut() {
    }

    void closeCamera() {

    }

    public interface OnPreViewResultListener {
        void onPreviewResult(byte[] var1);
    }
}
